package com.ctrip.cap.client;

import java.io.IOException;
import java.util.List;

import com.ctrip.cap.domain.DeviceDetect;
import com.ctrip.cap.domain.DeviceInfo;
import com.ctrip.cap.domain.JobDeviceInfo;
import com.ctrip.cap.domain.LogCase;
import com.ctrip.cap.domain.LogJob;
import com.ctrip.cap.domain.LogRunDetail;
import com.ctrip.cap.domain.LogSnapShot;
import com.ctrip.cap.domain.PreprocessDomain;

public interface RunAtServiceClient {

	public Integer addCILogRunDetail(LogRunDetail logRunDetail);

	public void updateDeviceStatus(DeviceInfo deviceInfo);

	public void addWiFiIssue(DeviceDetect deviceDetect);

	public List<PreprocessDomain> getPreprocStrategy(PreprocessDomain preprocessDomain);

	public void addDevicesToSql(List<JobDeviceInfo> jobDeviceInfoList);

	public Integer createJobID(LogJob logJob);

	public String addRunCase(LogCase logCase);

	public void addCiLogJob(LogJob logJob);
	
	public String uploadImgFileToServer(String imagePath) throws IOException;

	public String uploadImgFileToServer(String imagePath, String suffix) throws IOException;

	public void uploadImgFileToDB(LogSnapShot logSnapShot);

}